package com.flowerSystem.service;

import com.flowerSystem.entity.Shoppingcart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flowerSystem.pojo.ShoppingcartPojo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
public interface ShoppingcartService extends IService<Shoppingcart> {

    int plusOrderCountById(int id);

    int reduceOrderCountById(int id);

    Shoppingcart getOrderCountById(int id);

    List<ShoppingcartPojo> getShopOrderAll(int userId);

    int delShopping(int id,int userId);

}
